home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Software Vault: The Gold Collection
/
Software Vault - The Gold Collection (American Databankers) (1993).ISO
/
cdr24
/
dup21.zip
/
F2H21.DOC
< prev
next >
Wrap
Text File
|
1993-04-08
|
14KB
|
482 lines
F 2 H
Version 2.1
Documentation
F2H Copyright 1992, 1993 Chang Ping Lee ALL RIGHTS RESERVED
F2H Copyright 1992, 1993 Chang Ping Lee page 1
Table Of Contents
Disclaimer of warranty. . . . . . . . . . . . . . . . . . . . 2
License . . . . . . . . . . . . . . . . . . . . . . . . . . . 3
1. Introduction . . . . . . . . . . . . . . . . . . . . . . 4
2. How to install and run F2H . . . . . . . . . . . . . . . 5
3. Configuration file and command line arguments. . . . . . 6
4. Inside CONFIG.DCF. . . . . . . . . . . . . . . . . . . . 7
5. Command line arguments and examples. . . . . . . . . . . 8
6. What will be copied, what will not . . . . . . . . . . . 10
7. Benchmark. . . . . . . . . . . . . . . . . . . . . . . . 11
F2H Copyright 1992, 1993 Chang Ping Lee page 2
DISCLAIMER OF WARRANTY
THIS SOFTWARE AND MANUAL ARE SUPPLIED "AS IS." THE AUTHOR HEREBY
DISCLAIMS ALL WARRANTIES RELATING TO THIS SOFTWARE AND ITS
DOCUMENTATION FILE, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED
TO DAMAGE TO HARDWARE, SOFTWARE AND/OR DATA FROM USE OF THIS
PRODUCT. IN NO EVENT WILL THE AUTHOR OF THIS SOFTWARE BE LIABLE
TO YOU OR ANY OTHER PARTY FOR ANY DAMAGES. YOUR USE OF THIS
SOFTWARE INDICATES THAT YOU HAVE READ AND AGREE TO THESE AND
OTHER TERMS INCLUDED IN THIS DOCUMENTATION FILE.
DUE TO THE NATURE OF EVOLVING PROGRAMMING AND THE VARIOUS
HARDWARE AND SOFTWARE ENVIRONMENTS IN WHICH THIS SOFTWARE MAY
BE USED, IT IS UNDERSTOOD THAT OCCASIONAL "BUGS" OR UNFITNESS
MAY ARISE. THE USER SHOULD ALWAYS TEST THIS SOFTWARE THOROUGHLY
WITH NON-CRITICAL DATA BEFORE RELYING ON IT.
F2H Copyright 1992, 1993 Chang Ping Lee page 3
LICENSE
1. In return for the payment of a one time fee, the customer is
granted a non-commercial or commercial license.
2. If the registration is for a non-commercial license the customer
can use the software for personal backup or other usages in which
the customer make no profit and the duplicated diskettes of any
particular source diskette (or image file) are not distributed to
more than ten persons. In addition, the software may not be used in
any business, organization, institution or government agency.
3. If the registration is for a commercial license the customer can
use the software in a business, organization, institution or
government agency, for profit or non-profit purposes. With a
commercial license the customer can distributed the duplicated
diskettes to as many persons as he or she likes
4. The customer may use the product just-like-a-book which means
this software can be used by more than one person and can be moved
from one computer to another so long as there is NO POSSIBILITY of
it being used by two different persons on two different computers
at the same time, just like a book can not be read by two different
persons in two different places at the same time.
5. This software and its documentation and all supplemental files
are property of the author and may not be duplicated for sale to
any third parties without written permission from the author.
6. The customer agrees that this product is protected by United
States copyright law and international copyright treaty provisions.
Purchase of this license does not transfer any right, title or
interest in the product to the customer except as specifically set
forth in this license agreement.
7. The author of this software product reserves the right to
terminate this license upon breach.
F2H Copyright 1992, 1993 Chang Ping Lee page 4
1. INTRODUCTION:
F2H (Floppy to Hard disk) is a utility to copy a diskette to
hard disk at very high speed. The whole structure on a diskette
including sub directories and files will be copied to the
current directory on a hard disk or RAM disk.
For performance information see page 11 of this documentation.
F2H Copyright 1992, 1993 Chang Ping Lee page 5
2. HOW TO INSTALL AND RUN F2H
Copy the EXE and DOC files to a directory created for DCF and
DUP. Define the PATH in your AUTOEXEC.BAT to include this
directory or the directory of a one-line batch file which
contains the path of F2H.EXE.
Attach to the target directory then type "F2H" followed by the
"enter" key to copy from a floppy drive to the target directory.
You can specify the source floppy drive on the command line.
If you only have one or two floppy drives you can skip the rest
of this section.
In systems with four floppy drives, if a device driver which
came with the controller is installed F2H usually can detect the
drive letters automatically and the drive letters should be used
to specify the third and fourth drives. If no device driver
(TSR) is installed you need to use 3 and 4 as the drive letters
for the third and fourth drives. In this case you need to edit a
text file, CONFIG.DCF, that provides the information on floppy
drive capacity.
The following is an example of the text file in which a 1.2MB,
a 1.44MB and a 360KB drives are specified as the first, the
second and the third drives with drive letters A: B: and G:,
respectively. The 0 on the last line indicates that the fourth
drive is not installed. If all drives are defined, such as in
the example, F2H will not check with DOS for drive capacity.
This can speed up the initialization process.
$DRIVE
1 1200 A:
2 1440 B:
3 360 G:
4 0
F2H Copyright 1992, 1993 Chang Ping Lee page 6
3. CONFIGURATION FILE AND COMMAND LINE ARGUMENTS
If you have read the DOC file of DCF you can skip this section
and continue at section 6.
Basically, configuration file is used to stored information
which you don't expect to change often while command line
arguments are used for specifying more dynamic parameters.
For example, it's unlikely that you need to change the drive
capacity often, so these information can only be specified in
the configuration file, not on the command line.
On the other hand, it's unlikely that you use the same source
and target each time, so these can only be specified on the
command line, not in the configuration file.
The only information you can specified both in the configuration
file and command line is the default options. You may have your
own idea how the defaults should be (in configuration file) and
make a slight adjustment (on command line) when necessary. In
other words, command line options override the configuration
file options.
The configuration file is a text file. The default file name is
CONFIG.DCF. If you use the default file name you can simply type
"F2H" at DOS prompt and the program will retrieve information
from the file automatically.
There are cases that you need to use a different name. For
example, you may want to keep two configuration files for
different applications. In this case you need to provide the
file name on the command line. For example, if file ABC is your
configuration file you need to type "F2H @ABC" at DOS prompt.
The usage of the configuration file is explained in the next
section. The usage of command line arguments is fully explained
in section 5.
F2H Copyright 1992, 1993 Chang Ping Lee page 7
4. INSIDE CONFIG.DCF
If you have read the DOC file of DCF you can skip this section
and continue at section 6.
The user can specify up to seven keywords in the configuration
file. Each keyword specify a specific kind of parameters or
information.
$DRIVE : You don't need to provide this information except for
the following two cases. If the program fails to get
the correct drive capacity from your system or if you
want to access four drives without installing the
device driver which came with the controller you can
use this keyword to specify the drive capacity in the
CONFIG.DCF file.
The next few lines contain parameters about diskette
drives in your system. On each line, the first number
specify the drive, 1 for drive A:, 2 for drive B:, 3
and 4 for third and fourth drives in a four drive
system. The second number is the drive capacity in KB.
A drive letter (optional) can be specified at the end.
See section 4 of DCF40F.DOC for details.
$OPTION : The next few lines specify the default options used by
F2H at start up. The format is the same as those on
the command line but without the leading /. See
section 5 for details.
$SYSPATH : The next line specifies the path for system file.
For example, sound files are considered system files.
$IMGPATH : Not used by F2H.
$TMPPATH : The next line specifies the alternative path for the
program to create temporary files. If you have a RAM
disk, you can specify the path to be on your RAM
disk. Not only speed will be faster but also you save
your hard disk from unnecessary burden.
$NOMSG : Not used by F2H.
F2H Copyright 1992, 1993 Chang Ping Lee page 8
5. COMMAND LINE ARGUMENTS AND EXAMPLES
If you have read the DOC file of DCF you can skip this section
and continue at section 6.
There are fourteen options you can specify using command line
arguments. You can also specify these options in the CONFIG.DCF
file. The command line options override the CONFIG.DCF options.
In addition, you can also specify an alternative configuration
file on the command line. See examples at the end of this
section.
Note that the '+' sign after any option can be omitted.
/c Not used by F2H.
/m Not used by F2H.
/f followed by +/-. Set Fast ON/OFF. When ON the program will
only read the portion with active data and skip empty
portion of diskettes. Default is ON.
/s followed by +/-. Set Sound ON/OFF. When ON the program will
give an audio signal after writing a diskette or 20 seconds
of inactivity. Default is ON.
/q Not used by F2H.
/k Not used by F2H.
/n Not used by F2H.
/d followed by +/-. Set Delay ON/Off. If your machine is not so
slow as an 8088/4.77MHz and would like to see whether the
program can copy at highest speed on your system try /d-.
Default is ON.
F2H Copyright 1992, 1993 Chang Ping Lee page 9
/t followed by +/-. Set density priority. If + the program tries
reading a new disk as a high density disk in a 1.2 or 1.44MB
drive. If - low density has higher priority. Default is +.
/o followed by +/-. Set "mono in color" mode. In a color
system, you can use /o+ to force F2H run in black and white.
Default is -.
/x Not used by F2H.
/b Not used by F2H.
/a Not used by F2H.
/w followed by +/-. Set "write protect" ON/OFF. If ON the
program will not read a diskette which is not write-
protected. This is useful when the source diskettes are all
write-protected. Default is OFF.
@file_name specify alternative name for the configuration file.
drive: define a floppy drive as source drive.
EXAMPLES:
F2H /w+d-s- Set defaults of Write-protect, Delay and Sound to
to ON, OFF and OFF.
F2H /wd-s- Same as the last example. The '+' can be and is
omitted.
F2H A: Copy drive A: to current directory.
F2H 3: Copy from the third drive, when device driver is
not installed.
F2H G: Same as the last example, but in this case the
driver is installed and the drive letters is G.
F2H Copyright 1992, 1993 Chang Ping Lee page 10
6. WHAT WILL BE COPIED, WHAT WILL NOT
All the files and sub directories and their structure are copied
to the current directory, usually on a hard disk or RAM disk. If
a sub directory does not exist on hard disk one will be created.
If a file already exists, user will be prompted for permission
to overwrite. The names, times, dates and attributes of all the
files are preserved.
The directories will have different times, dates and attributes,
however. The diskette label, serial number and other information
contained in the system area will not be copied.
F2H Copyright 1992, 1993 Chang Ping Lee page 11
7. BENCHMARK
H2F vs XCOPY F2H vs XCOPY
--------------------------------------------------
Case 1 (1.2 MB) 8 vs 40 8 vs 17
Case 1 (1.44MB) 9 vs 50 9 vs 19
Case 2 (1.2 MB) 9 vs 33 9 vs 18
Case 2 (1.44MB) 8 vs 40 9 vs 19
Case 3 (360 KB) 18 vs 135 19 vs 27
Case 3 (1.2 MB) 11 vs 93 12 vs 19
Case 3 (1.44MB) 11 vs 106 12 vs 18
Note: (1) Case 1 contains 36 files and no sub directory.
Case 2 contains 13 files in 21 sub directories.
Case 3 contains 80 files in 28 sub directories.
Total file size is about 300 KB in all cases.
(2) Performance varies on different system. The
above benchmark result is provided as examples,
NOT guarantee.
(3) The above results were measured with a RAM disk
on a 33 MHz 386 compatible system.